findById

open override fun findById(userId: String): User?

Retrieves a user by their ID.

Return

the user with the given ID, or null if no user found

Parameters

userId

the ID of the user to retrieve